#TITLE=php strings
#INFO
cliptext library for php programming written by nils@vita.gov.lv
#SORT=y

#T=  compare txt strings
^!= strcasecmp($str, $str);# a,b<0;n,a>0;a,a=0
#T=  num of eq symbols
^!= similar_text($stra, $strb);
#T= " to /" 
^!= addslashes($str);
#T= \n to <br>
^!= nl2br($str);
#T= \-ts chars .\=*?[]^()$
^!= quetemeta($str);
#T= 1st symb ascii code
^!= ord($str);
#T= array to str join`d by glue
^!= implode($glue, $arr);
#T= ascii symbol
^!= chr($str);
#T= bin to hex
^!= bin2hex($str);
#T= coding for html &,<,>,"
^!= htmlentitles($str);
#T= crypt str by unix des
^!= crypt($str, $salt);
#T= first char up`case
^!= ucfirst($str);
#T= html meta tags
^!= get_meta_tags($file);#$arr name=>value
#T= html transl table
^!= get_html_translation_table($table);
#T= last pos of char in str
^!= strpos($str, $char);
#T= len substr in 1, from symb`ls of 2
^!= strspn($str1, $str2);
#T= print
^!= print($str);

#T= print all params
^!= echo($stra, $strb);
#T= read as query str
^!= parse($str);
#T= rem \n \r\t\v\0
^!= chop($str);
#T= rem \r\t\n
^!= ltrim($str);
#T= repeat str 
^!= ($str, $times);
#T= reverse str
^!= strrev($str);
#T= rim & others to %nn
^!= rawurlencode($str);
#T= split str by arg
^!= strtok($str1, $arg);
#T= split str elm to arr
^!= explode($sep, $str);#$a=explode(",","1,2,3");#$a=(1,2,3)
#T= str polynom
^!= crc32($str);
#T= str to lowercase
^!= strtolower($str);
td= replace in str
^!= str_replace($what, $to, $where);
#T= string in format
^!= sprintf($format, [$args]);
#T= substr (findtxt, end)
^!= strchr($where, $findtxt);
#T= substr from to (nr)
^!= substr($str, $num_from, $num_to);
#T= substr where(what,end)
^!=strstr($where, $what);
#T=bytes count in str 
^!= count_chars($str [,mode]);
#T=convert cyr  
^!= convert_cyr_string($str, $from , $to); #from,to:k-koi8,w-win1251,i-iso8859-2,m-mac cyr
#T=set $end(\r\n) after len pos 
^!= chunk_split($str, $strlen, $end);
#T=str_repalce($fr,$to,$wh);
str_repalce("from",$to,$where);
#T=str_replace( $from, $to, $where)
^!=str_replace ( "$from", "$to", $where);
#T=words upcase
^!= ucwords($str);


#